package com.sz.biz.trade.goods.entity;

import com.sz.common.base.entity.VersionEntity;
import com.sz.common.base.entity.VersionEntityBase;

import java.math.BigDecimal;

/**
 * Function: 商品 <br>
 * Author: jifeixing <br>
 * Date: 2017-07-12 14:22:00
 */
public class Goods extends VersionEntityBase implements VersionEntity {

    private Integer id;

    /**
     * 业务类型
     */
    private String businessType;
    /**
     * 商品类别
     */
    private Integer goodsTypeId;
    /**
     * 品名
     */
    private String name;
    /**
     * 商品代码
     */
    private String code;
    /**
     * HS编码
     */
    private String hsCode;
    /**
     * 商品规格
     */
    private String standardsName;
    /**
     * 规格代码
     */
    private String standardsCode;
    /**
     * 计量单位
     */
    private String unit;
    /**
     * 单价
     */
    private BigDecimal price;
    /**
     * 货币单位
     */
    private String currencyType;
    /**
     * 供应商类型： 1： 供应商；2： 平台公司
     */
    private Integer supplierType = 1;
    /**
     * 供应商
     */
    private Integer supplierId;
    /**
     * 采购限制: 0: 全部企业； 1： 指定企业
     */
    private Integer purchaserLimit;
    /**
     * 项目限制: 0: 全部项目； 1： 指定项目
     */
    private Integer projectLimit;
    /**
     * 状态： 审核预留
     */
    private Integer status;
    /**
     * 启用状态： false: 已停用/true: 已启动
     */
    private Boolean isEnabled;
    /**
     * 商品图品
     */
    private String image;

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public Integer getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(Integer goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStandardsName() {
        return standardsName;
    }

    public void setStandardsName(String standardsName) {
        this.standardsName = standardsName;
    }

    public String getStandardsCode() {
        return standardsCode;
    }

    public void setStandardsCode(String standardsCode) {
        this.standardsCode = standardsCode;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getCurrencyType() {
        return currencyType;
    }

    public void setCurrencyType(String currencyType) {
        this.currencyType = currencyType;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getPurchaserLimit() {
        return purchaserLimit;
    }

    public void setPurchaserLimit(Integer purchaserLimit) {
        this.purchaserLimit = purchaserLimit;
    }

    public Integer getProjectLimit() {
        return projectLimit;
    }

    public void setProjectLimit(Integer projectLimit) {
        this.projectLimit = projectLimit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getEnabled() {
        return isEnabled;
    }

    public void setEnabled(Boolean enabled) {
        isEnabled = enabled;
    }

    public String getHsCode() {

        return hsCode;
    }

    public void setHsCode(String hsCode) {
        this.hsCode = hsCode;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(Integer supplierType) {
        this.supplierType = supplierType;
    }
}